package model

import (
	"time"
)

//saveUrl在这里存的是obs上的key
//Owner几位userId
type Asset struct {
	IdWithCollectionIndex string    `orm:"column(idWithCollectionIndex);size(64);index;pk"`
	TransactionId         string    `orm:"column(transactionId);size(64)"`
	Owner                 int       `orm:"column(owner);type(int)"`
	CreatedTime           time.Time `orm:"column(createdTime);type(datetime)"`
	SaveUrl               string    `orm:"column(saveUrl);size(128)"`
	Category              *Category `orm:"column(category_id);rel(fk)"`
	AssetID               string    `orm:"column(assetId);size(64)"`
}
